package com.glodon.ggzy.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgJsSchedule entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_JS_SCHEDULE")
public class GgJsSchedule implements java.io.Serializable {

	// Fields    

	private String id;

	private String projectId;

	private String workAgenda;

	private Date startTime;

	private Date etartTime;

	private String site;

	private String remark;

	private String workAgendaKey;

	// Constructors

	/** default constructor */
	public GgJsSchedule() {
	}

	/** full constructor */
	public GgJsSchedule(String projectId, String workAgenda, Date startTime, Date etartTime, String site, String remark,
			String workAgendaKey) {
		this.projectId = projectId;
		this.workAgenda = workAgenda;
		this.startTime = startTime;
		this.etartTime = etartTime;
		this.site = site;
		this.remark = remark;
		this.workAgendaKey = workAgendaKey;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 40)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "PROJECT_ID", length = 40)
	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	@Column(name = "WORK_AGENDA", length = 512)
	public String getWorkAgenda() {
		return this.workAgenda;
	}

	public void setWorkAgenda(String workAgenda) {
		this.workAgenda = workAgenda;
	}

	@Column(name = "START_TIME", length = 7)
	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	@Column(name = "ETART_TIME", length = 7)
	public Date getEtartTime() {
		return this.etartTime;
	}

	public void setEtartTime(Date etartTime) {
		this.etartTime = etartTime;
	}

	@Column(name = "SITE", length = 256)
	public String getSite() {
		return this.site;
	}

	public void setSite(String site) {
		this.site = site;
	}

	@Column(name = "REMARK", length = 512)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "WORK_AGENDA_KEY", length = 20)
	public String getWorkAgendaKey() {
		return this.workAgendaKey;
	}

	public void setWorkAgendaKey(String workAgendaKey) {
		this.workAgendaKey = workAgendaKey;
	}

}
